<!DOCTYPE html>
<html>
<head>
  <title>登录</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body ms-controller="login" class="loginPage ms-controller">
<div id="content">
  <div ms-widget="{is:'ms-header',config:@headerOpts}"></div>

  <div class="loginBox">
  	<h3>用户登录</h3>
  	<div class="line"><input name="user" type="text" placeholder="请输入账号" ms-duplex="@user"></div>
  	<div class="line"><input type="password" placeholder="密码" ms-duplex="@password"></div>
  	<div class="line errMes" ms-if="@errMes!=''">
		{{@errMes}}
	</div>
	<div class="line">
		<label class="remember">
			<input type="checkbox" ms-duplex="@remember"> 记住密码
		</label>
		<a href="#" class="forget">忘记密码？</a>
	</div>
	
	<div class="line button-line">
		<button ms-click="@login">登&nbsp;&nbsp;录</button>
	</div>
  </div>
</div>
<script src="/dll/vendor.js"></script>
</body>
</html>
